package roborally.filters;

import roborally.model.Element;

/**
 * An evaluator which evaluates to true for every object.
 * 
 * @version 1.0
 * @author  Pieter Robberechts	(1e Bach Informatica)
 * @author	Jeroen Sanders		(1e Bach Informatica)
 */
public class AlwaysTrueEvaluator extends ConditionEvaluator {

	/**
	 * Evaluate to true for any valid object.
	 * 
	 * @return	Return true.
	 */
	@Override
	public boolean isTrue(Element object) {
		if(object == null)
			return false;
		return true;
	}

}
